package com.chw.admin.menu;

import java.util.List;

import com.chw.common.ServiceData;
import com.github.pagehelper.PageInfo;

/**
 * 服务接口类
 */
public interface ISysMenuService {

	public SysMenu selectById(String id) throws Exception;

	public List<SysMenu> find(SysMenu record) throws Exception;

	public PageInfo page(SysMenu record, int currentPage, int pageSize) throws Exception;

	public ServiceData delete(String id) throws Exception;

	public void updateStatus(String id, String status) throws Exception;

	public boolean hasSub(String id) throws Exception;

	public void saveOrUpdate(SysMenu record) throws Exception;
	
	public boolean hasMenuName(String name,String id) throws Exception;

}